package cn.sunchis.pvuv.sdk.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * PVUV统计服务配置
 * @Author 许亮
 * @Create 2018-7-5 11:10:10
 */
@ConfigurationProperties(prefix="spring.application")
public class PvuvServiceConfig {
	/**
	 * 用于PVUV统计的Kafka topic名称
	 */
	public static final String KAFKA_PVUV_TOPIC = "CCPG-LOG-PLATFORM-REQSTAT";
	
	private boolean pvuvEnabled;	// 是否启用框架的PVUV统计服务功能

	/**
	 * 是否启用框架的PVUV统计服务功能
	 * @return
	 */
	public boolean isPvuvEnabled() {
		return pvuvEnabled;
	}

	/**
	 * 是否启用框架的PVUV统计服务功能
	 * @param pvuvEnabled
	 */
	public void setPvuvEnabled(boolean pvuvEnabled) {
		this.pvuvEnabled = pvuvEnabled;
	}
}
